import http from './http'


const createMovieOrder = (params: any) => {
	return http.myRequest({
		url: '/movieOrder/create',
		method: 'post',
		data: params
	})
}
const getMovieOrderByUserId =(params:any)=>{
	return http.myRequest({
		url: '/movieOrder/userId',
		method: 'post',
		data: params
	})
}

const getMovieOrderById=(params:any)=>{
	return http.myRequest({
		url:'/movieOrder/id',
		method:'post',
		data:params
	})
}


export default {
	createMovieOrder,
	getMovieOrderByUserId,
	getMovieOrderById
}